package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbQuestion implements Serializable {
    //问题ID
    private Integer id;

    //问题所属分类ID
    private Integer categoryId;

    //问题标题
    private String title;

    //是否热门  1：是   0：否
    private Byte hot;

    //问题浏览次数
    private Integer pv;

    //浏览问题用户数
    private Integer uv;

    //解决用户问题次数
    private Integer solve;

    //未解决次数
    private Integer unsolved;

    //相关问题ID;隔开多个问题ID
    private String relation;

    //问题状态  0：未发布  1：已发布  2：已下线
    private Byte status;

    //排序号  从小到大排序
    private Integer seq;

    //0 正常 1 删除
    private Byte isDelete;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //问题内容描述
    private String content;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Byte getHot() {
        return hot;
    }

    public void setHot(Byte hot) {
        this.hot = hot;
    }

    public Integer getPv() {
        return pv;
    }

    public void setPv(Integer pv) {
        this.pv = pv;
    }

    public Integer getUv() {
        return uv;
    }

    public void setUv(Integer uv) {
        this.uv = uv;
    }

    public Integer getSolve() {
        return solve;
    }

    public void setSolve(Integer solve) {
        this.solve = solve;
    }

    public Integer getUnsolved() {
        return unsolved;
    }

    public void setUnsolved(Integer unsolved) {
        this.unsolved = unsolved;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}